package com.bjpowernode.springboot.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class MyController {

    @RequestMapping(value = "/inline")
    public String inline(Model model){
        model.addAttribute("data","springboot inline表达式");
        return "inline";
    }
}
